package com.xjd.edu.course;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.FilterType;

//@ComponentScan(basePackages = {"com.xjd.edu"},excludeFilters = @ComponentScan.Filter(type= FilterType.ASSIGNABLE_TYPE, classes= {CommonAutoConfiguration.class}))
@EnableFeignClients(value = "com.xjd.edu")
@EnableAspectJAutoProxy(exposeProxy = true)
@SpringBootApplication
@EnableDiscoveryClient
public class CourseApplication {
    public static void main(String[] args) {
        SpringApplication.run(CourseApplication.class, args);
    }
}
